Skip to content

Conversation

@NisargJasani0602
Copy link

Fixes #3691

Changes:
Added a mobile-only visibility toggle in the /sketches dropdown menu, allowing users to switch between public and private sketches on smaller screens.
Updated SketchListRowBase.jsx to reuse the existing changeVisibility logic for consistency.
Verified responsive behavior and correct state updates across desktop and mobile views.

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #3691
  • meets the standards outlined in the accessibility guidelines

Copy link
Contributor

@yugalkaushik yugalkaushik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @NisargJasani0602 for UI changes please attach screen preview to show before and after changes

@NisargJasani0602
Copy link
Author

Before the Changes:
There is no dropdown menu option for toggling the visibility of the saved sketches if you are using the P5.js website in Mobile view
Screenshot 2025-11-03 at 8 47 25 PM

After the Changes:
There is a new dropdown which allows the User to toggle the visibility (Public/Private) and is also working synchronously with the Desktop view
Screenshot 2025-11-03 at 8 44 47 PM
Screenshot 2025-11-03 at 8 45 47 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: On smaller devices(tablets, mobiles), there isn't any way to change the visibility(public/private) of a sketch.

2 participants